<?php
class searchBooks {
  public $arg0; // book
  public $arg1; // book
  public $arg2; // int
  public $arg3; // int
}

class book {
  public $auteur; // string
  public $isbn; // string
  public $titel; // string
}

class searchBooksResponse {
  public $return; // book
}


/**
 * BrowseWsdlService class
 * 
 *  
 * 
 * @author    {author}
 * @copyright {copyright}
 * @package   {package}
 */
class BrowseWsdlService extends SoapClient {

  private static $classmap = array(
                                    'searchBooks' => 'searchBooks',
                                    'book' => 'book',
                                    'searchBooksResponse' => 'searchBooksResponse',
                                   );

  public function BrowseWsdlService($wsdl = "http://soaponix.appspot.com/BrowseSoapServlet/nl/boektrust/btsoep/server/wsdl/jaxws/BrowseWsdlService.wsdl", $options = array()) {
    foreach(self::$classmap as $key => $value) {
      if(!isset($options['classmap'][$key])) {
        $options['classmap'][$key] = $value;
      }
    }
    parent::__construct($wsdl, $options);
  }

  /**
   *  
   *
   * @param searchBooks $parameters
   * @return searchBooksResponse
   */
  public function searchBooks(searchBooks $parameters) {
    return $this->__soapCall('searchBooks', array($parameters),       array(
            'uri' => 'http://wsdl.server.btsoep.boektrust.nl/',
            'soapaction' => ''
           )
      );
  }

}

?>
